target("tbox")
  set_kind("static")
  add_rules("utils.install.cmake_importfiles")
  add_rules("utils.install.pkgconfig_importfiles")
  add_defines('__tb_prefix="tbox"')
  set_configdir("$(buildir)/$(plat)/$(arch)/$(mode)", {public = true})
  add_configfiles("tbox.config.h.in")

  add_includedirs("..", { public = true })
  add_includedirs("$(buildir)/$(plat)/$(arch)/$(mode)", { public = true })
  add_files("*.c")
